import Layout from '@/layout'
// import orderDetail from '@/views/Business/order/components/orderDetail.vue'
export default {
  path: '/business',
  component: Layout,
  meta: {
    title: '业务管理',
    icon: 'el-icon-s-order'
  },
  children: [{
    path: '/order',
    meta: { title: '订单管理' },
    component: () => import ('@/views/Business/order'),
    name: 'order',
    children: [{
      path: '/order-detatil',
      component: () => import ('@/views/Business/order/components/orderDetail'),
      name: 'order-detatil',
      hidden: true,
      meta: { title: '订单详情', noCache: true, pageHeader: true }

    }]
  },
  {
    path: '/waybill',
    meta: {
      title: '运单管理'
    },
    component: () => import ('@/views/Business/waybill'),
    children: [{
      path: '/waybill-detatil',
      component: () => import ('@/views/Business/waybill/components/waybillDetail'),
      name: 'waybill-detatil',
      hidden: true,
      meta: { title: '订单详情', noCache: true, pageHeader: true }

    }]
  }]
}
